/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.ziyun.erp.modules.micro.entity;

/**
 * 用户基本信息返回对象
 */
public class BaseResultVO {

	private int code;

	/** 数据 */
	private UserInfo data;

	/** 信息 */
	private String message;

	public BaseResultVO() {
	}

	public BaseResultVO(int code) {
		this.setCode(code);
	}

	public BaseResultVO(int code, String message, UserInfo data) {
		this.code = code;
		this.message = message;
		this.data = data;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public UserInfo getData() {
		return data;
	}

	public void setData(UserInfo data) {
		this.data = data;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

    @Override
    public String toString() {
        return "BaseResultVO{" +
                "code=" + code +
                ", data=" + data +
                ", message='" + message + '\'' +
                '}';
    }
}